<!DOCTYPE html>
<html dir="ltr" lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <title>后台管理系统</title>
    <base href="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
    <link href="__STATIC__/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
    <link href="__STATIC__/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
    <link href="__STATIC__/back/css/stylesheet.css" type="text/css" rel="stylesheet" media="screen" />
    <script type="text/javascript" src="__STATIC__/jquery/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div id="container">
    <header id="header" class="navbar navbar-static-top">
        <div class="navbar-header">
            <a href="" class="navbar-brand"><img src="__STATIC__/back/image/logo.png" alt="BuyPlus" title="BuyPlus" /></a></div>
    </header>
    <div id="content">
        <div class="container-fluid"><br />
            <br />
            <div class="row">
                <div class="col-sm-offset-4 col-sm-4">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h1 class="panel-title">
                                <i class="fa fa-lock"></i>{$msg|default='请输入您的登录信息'}                             </h1>
                        </div>
                        <div class="panel-body">
                            <form action="{:url('login')}" method="post">
                                <div class="form-group">
                                    <label for="input-username">管理员</label>
                                    <div class="input-group"><span class="input-group-addon"><i class="fa fa-user"></i></span>
                                        <input type="text" name="username" value="{$data['username']|default='admin'}" placeholder="管理员" id="input-username" class="form-control" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="input-password">密码</label>
                                    <div class="input-group"><span class="input-group-addon"><i class="fa fa-lock"></i></span>
                                        <input type="password" name="password" value="{$data['password']|default='admin'}" placeholder="密码" id="input-password" class="form-control" />
                                    </div>
                                </div>
                                <div class="text-right">
                                    <button type="submit" class="btn btn-primary"><i class="fa fa-key"></i> 登录</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer id="footer">
        <a href="http://www.hellokang.net">BuyPlus(败家Shopping) HelloKang</a>
        <br>
        &copy; 2009-2016 All Rights Reserved.
        <br>Version 1.0
    </footer></div>
<div id="think_page_trace" style="position: fixed;bottom:0;right:0;font-size:14px;width:100%;z-index: 999999;color: #000;text-align:left;font-family:'微软雅黑';">
    <div id="think_page_trace_tab" style="display: none;background:white;margin:0;height: 250px;">
        <div id="think_page_trace_tab_tit" style="height:30px;padding: 6px 12px 0;border-bottom:1px solid #ececec;border-top:1px solid #ececec;font-size:16px">
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">基本</span>
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">文件</span>
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">流程</span>
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">错误</span>
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">SQL</span>
            <span style="color:#000;padding-right:12px;height:30px;line-height:30px;display:inline-block;margin-right:3px;cursor:pointer;font-weight:700">调试</span>
        </div>
        <div id="think_page_trace_tab_cont" style="overflow:auto;height:212px;padding:0;line-height: 24px">
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                    <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">请求信息 : 2018-03-20 14:08:14 HTTP/1.1 GET : localhost:8080/shop1/public/back/admin/login.html</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">运行时间 : 0.018985s [ 吞吐率：52.67req/s ] 内存消耗：1,179.16kb 文件加载：40</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">查询信息 : 0 queries 0 writes </li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">缓存信息 : 0 reads,0 writes</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">配置加载 : 65</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">会话信息 : SESSION_ID=7t4e3irmte1um4de0racs4evq5</li>                </ol>
            </div>
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                    <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\public\index.php ( 0.75 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\start.php ( 0.72 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\base.php ( 2.60 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Loader.php ( 20.23 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\vendor\composer\autoload_namespaces.php ( 0.15 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\vendor\composer\autoload_psr4.php ( 0.37 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\vendor\composer\autoload_classmap.php ( 0.14 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Error.php ( 3.75 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Config.php ( 6.38 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\convention.php ( 10.10 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\App.php ( 20.87 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Request.php ( 48.47 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\config.php ( 8.10 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\database.php ( 1.74 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Hook.php ( 4.71 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\tags.php ( 0.96 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\common.php ( 2.95 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Env.php ( 1.21 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\helper.php ( 17.30 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Lang.php ( 7.23 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Log.php ( 6.04 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\lang\zh-cn.php ( 11.58 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\route.php ( 2.37 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Route.php ( 58.71 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\back\tags.php ( 0.25 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\back\common.php ( 1.62 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\back\controller\AdminController.php ( 7.44 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Controller.php ( 6.01 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\traits\controller\Jump.php ( 4.90 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\View.php ( 6.77 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\view\driver\Think.php ( 5.45 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Template.php ( 45.15 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\template\driver\File.php ( 2.17 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Debug.php ( 7.13 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\application\back\behavior\CheckAuth.php ( 1.27 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Session.php ( 10.86 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\runtime\temp\f760c7799d6a3934d432521d25fcefae.php ( 3.59 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Url.php ( 12.72 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Response.php ( 8.33 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\debug\Html.php ( 4.16 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Db.php ( 6.67 KB )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">D:\phpStudy\WWW\shop1\thinkphp\library\think\Cache.php ( 6.10 KB )</li>                </ol>
            </div>
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                    <li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ LANG ] D:\phpStudy\WWW\shop1\thinkphp\lang\zh-cn.php</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ ROUTE ] array (
                    'type' =&gt; 'module',
                    'module' =&gt;
                    array (
                    0 =&gt; 'back',
                    1 =&gt; 'admin',
                    2 =&gt; 'login',
                    ),
                    )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ HEADER ] array (
                    'cookie' =&gt; 'thinkphp_show_page_trace=0|0; a0161_times=1; a6602_times=1; a0168_times=2; _ga=GA1.1.339252345.1503538355; yjs_id=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV09XNjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS82Mi4wLjMyMDIuNjIgU2FmYXJpLzUzNy4zNnxsb2NhbGhvc3Q6ODA4MHwxNTEyMDg4OTM5NjI0fA; Hm_lvt_171c4eb3cd66129b6f924169ce2b997a=1512088940; UM_distinctid=1600fb7419378d-005bddb654b5b2-5b4a2c1d-100200-1600fb7419428a; Hm_lvt_b88cfc1ccab788f0903cac38c894caa3=1512092154; CNZZDATA1585378=cnzz_eid%3D428780795-1512086866-%26ntime%3D1512086866; CNZZDATA4180674=cnzz_eid%3D1928284276-1512086816-%26ntime%3D1512086816; Phpstorm-412f56be=f4c2752e-69ef-4708-bacc-59847171d90c; PHPSESSID=7t4e3irmte1um4de0racs4evq5',
                    'accept-language' =&gt; 'zh-CN,zh;q=0.9',
                    'accept-encoding' =&gt; 'gzip, deflate, br',
                    'accept' =&gt; 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
                    'upgrade-insecure-requests' =&gt; '1',
                    'user-agent' =&gt; 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36',
                    'connection' =&gt; 'close',
                    'host' =&gt; 'localhost:8080',
                    )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ PARAM ] array (
                    )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ BEHAVIOR ] Run app\back\behavior\CheckAuth @action_begin [ RunTime:0.000224s ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ RUN ] app\back\controller\AdminController-&gt;loginAction[ D:\phpStudy\WWW\shop1\application\back\controller\AdminController.php ]</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ SESSION ] INIT array (
                    'id' =&gt; '',
                    'var_session_id' =&gt; '',
                    'prefix' =&gt; 'think',
                    'type' =&gt; '',
                    'auto_start' =&gt; true,
                    )</li><li style="border-bottom:1px solid #EEE;font-size:14px;padding:0 12px">[ VIEW ] D:\phpStudy\WWW\shop1\public/../application/back\view\admin\login.html [ array (
                    0 =&gt; 'message',
                    1 =&gt; 'data',
                    ) ]</li>                </ol>
            </div>
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                </ol>
            </div>
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                </ol>
            </div>
            <div style="display:none;">
                <ol style="padding: 0; margin:0">
                </ol>
            </div>
        </div>
    </div>
    <div id="think_page_trace_close" style="display:none;text-align:right;height:15px;position:absolute;top:10px;right:12px;cursor:pointer;"><img style="vertical-align:top;" src="" /></div>
</div>
<div id="think_page_trace_open" style="height:30px;float:right;text-align:right;overflow:hidden;position:fixed;bottom:0;right:0;color:#000;line-height:30px;cursor:pointer;">
    <div style="background:#232323;color:#FFF;padding:0 6px;float:right;line-height:30px;font-size:14px">0.020536s </div>
    <img width="30" style="" title="ShowPageTrace" src="">
</div>

<script type="text/javascript">
    (function(){
        var tab_tit  = document.getElementById('think_page_trace_tab_tit').getElementsByTagName('span');
        var tab_cont = document.getElementById('think_page_trace_tab_cont').getElementsByTagName('div');
        var open     = document.getElementById('think_page_trace_open');
        var close    = document.getElementById('think_page_trace_close').children[0];
        var trace    = document.getElementById('think_page_trace_tab');
        var cookie   = document.cookie.match(/thinkphp_show_page_trace=(\d\|\d)/);
        var history  = (cookie && typeof cookie[1] != 'undefined' && cookie[1].split('|')) || [0,0];
        open.onclick = function(){
            trace.style.display = 'block';
            this.style.display = 'none';
            close.parentNode.style.display = 'block';
            history[0] = 1;
            document.cookie = 'thinkphp_show_page_trace='+history.join('|')
        }
        close.onclick = function(){
            trace.style.display = 'none';
            this.parentNode.style.display = 'none';
            open.style.display = 'block';
            history[0] = 0;
            document.cookie = 'thinkphp_show_page_trace='+history.join('|')
        }
        for(var i = 0; i < tab_tit.length; i++){
            tab_tit[i].onclick = (function(i){
                return function(){
                    for(var j = 0; j < tab_cont.length; j++){
                        tab_cont[j].style.display = 'none';
                        tab_tit[j].style.color = '#999';
                    }
                    tab_cont[i].style.display = 'block';
                    tab_tit[i].style.color = '#000';
                    history[1] = i;
                    document.cookie = 'thinkphp_show_page_trace='+history.join('|')
                }
            })(i)
        }
        parseInt(history[0]) && open.click();
        tab_tit[history[1]].click();
    })();
</script>
</body></html>
